package org.apache.click.doubleclick.annotationconfig.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Annotation to use to define application/page headers. If this annotation is used
 * on a non {@link org.apache.click.Page} then the header values will be considered
 * as application header values.
 *
 * @author Jahid Shohel (jshohel@gmail.com)
 * @see org.apache.click.doubleclick.annotationconfig.annotations.Header
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Headers {
    /**
     * Returns configured header values.
     *
     * @return collection of header values.
     */
    public Header[] value();
}
